var checkId = getUrlParam("checkId");
var stat = getUrlParam("stat");
var fileName = getUrlParam("fileName");
var filePath = getUrlParam("filePath");
var peason ={
}
layui.use(['form', 'layedit', 'laydate', 'element'], function () {
    var layerTips = layui.layer,
    layer = layui.layer, //获取当前窗口的layer对象
    form = layui.form,
    layedit = layui.layedit,
    laydate = layui.laydate;
   
    $(function(){
    	$("#hisImg").attr("src",'/CLIENT/file/getTablePic?filePath='+filePath+'&fileName='+fileName);
  });
})
//打印表格
function myprint(tableid){
	var checkboxs3 = $("tr").find("td").find("form").find("input");
	if(checkboxs3){
		for(var i = 0;i<checkboxs3.length;i ++){
			if(!checkboxs3[i].checked){
				$(checkboxs3[i]).parent().hide();
			}
		}
	}
	$("#print").hide();
	setTimeout(function(){
		$("#print").show();
		if(checkboxs3){
			for(var i = 0;i<checkboxs3.length;i ++){
				if(!checkboxs3[i].checked){
					$(checkboxs3[i]).parent().show();
				}
			}
		}
	},200)
 	window.print();
    winname.document.execCommand('print'); //打印
    winname.close();
}
